/****************************************************************************
 *
 * Copyright (C) 2003-2008 Los Alamos National Security, LLC
 *                         Packet Analytics Corporation
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License Version 2 as
 * published by the Free Software Foundation.  You may not use, modify or
 * distribute this program under any other version of the GNU General
 * Public License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 *
 ****************************************************************************/
package nfse;

import java.sql.Timestamp;

/*******************************************************************************
 * This class is a data structure for holding information about an index
 * instance.
 * 
 * @author
 * 
 * This code is the property of Los Alamos National Laboratory and the
 * University of California, Copyright 2005
 */
public class TempTableRun {

    /***************************************************************************
     * Monotonically increasing itteration of files in this day (1-n)
     */
    private int nodeID = -1;

    /***************************************************************************
     * Unix time of the earliest record in the data file
     */
    private Timestamp minTS = null;

    /***************************************************************************
     * Unix time of the latest record in the data file
     */
    private Timestamp maxTS = null;

    /***************************************************************************
     * Sensor that generated the data
     */
    private int sensorID = -1;

    private String table = "";

    private String host = "";

    private String dynamicUser = "";

    private String dynamicPassword = "";

	/**
	 * @param nodeID the nodeID to set
	 */
	public void setNodeID(int nodeID) {
		this.nodeID = nodeID;
	}

	/**
	 * @return the nodeID
	 */
	public int getNodeID() {
		return nodeID;
	}

	/**
	 * @param minTS the minTS to set
	 */
	public void setMinTS(Timestamp minTS) {
		this.minTS = minTS;
	}

	/**
	 * @return the minTS
	 */
	public Timestamp getMinTS() {
		return minTS;
	}

	/**
	 * @param maxTS the maxTS to set
	 */
	public void setMaxTS(Timestamp maxTS) {
		this.maxTS = maxTS;
	}

	/**
	 * @return the maxTS
	 */
	public Timestamp getMaxTS() {
		return maxTS;
	}

	/**
	 * @param sensorID the sensorID to set
	 */
	public void setSensorID(int sensorID) {
		this.sensorID = sensorID;
	}

	/**
	 * @return the sensorID
	 */
	public int getSensorID() {
		return sensorID;
	}

	/**
	 * @param table the table to set
	 */
	public void setTable(String table) {
		this.table = table;
	}

	/**
	 * @return the table
	 */
	public String getTable() {
		return table;
	}

	/**
	 * @param host the host to set
	 */
	public void setHost(String host) {
		this.host = host;
	}

	/**
	 * @return the host
	 */
	public String getHost() {
		return host;
	}

	/**
	 * @param dynamicUser the dynamicUser to set
	 */
	public void setDynamicUser(String dynamicUser) {
		this.dynamicUser = dynamicUser;
	}

	/**
	 * @return the dynamicUser
	 */
	public String getDynamicUser() {
		return dynamicUser;
	}

	/**
	 * @param dynamicPassword the dynamicPassword to set
	 */
	public void setDynamicPassword(String dynamicPassword) {
		this.dynamicPassword = dynamicPassword;
	}

	/**
	 * @return the dynamicPassword
	 */
	public String getDynamicPassword() {
		return dynamicPassword;
	}

}